from binascii import Incomplete
from re import I
from subprocess import CompletedProcess
import time
Incomplete_sign = 50 #.的数量
print('='*23+'开始下载'+'='*25)
for i in range(Incomplete_sign +1):
    Completed = "*"*i      #表示完成
    Incomplete = "."*(Incomplete_sign - i)  #表示未完成
    percentage = (i / Incomplete_sign) * 100 #百分比
    print("\r{:.of}%[{}{}]".format(percentage,Completed,Incomplete),end="")
    time.sleep(0.5)
print("\n"+'='*23+'下载完成'+'='*25)